import requests
from ihrm_get_token import IhrmGetToken

class IhrmDeleteUser(object):
    @classmethod
    def deleteuser(cls):
        login_token = IhrmGetToken()
        url = "https://ihrm-java.itheima.net/api/sys/user/1066370498633486336"
        headers = {"content-type": "application/json","Authorization" : login_token}
        resp = requests.delete(url = url ,headers=headers,)
        return resp
